﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_MasterPage.master" AutoEventWireup="true" CodeFile="NhanVien_Them.aspx.cs" Inherits="Admin_NhanVien_Them" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<span class="TieuDe">Thêm nhân viên:</span>
<table>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Tên đăng nhập</td>
    <td style="width:200px;"><asp:TextBox ID="txt_TenDangNhap" 
            runat="server" Width="200px"></asp:TextBox></td>
            <td style="color:Red;"><asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ErrorMessage="Không được bỏ trống" ControlToValidate="txt_TenDangNhap"></asp:RequiredFieldValidator></td>
</tr>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Mật khẩu</td>
    <td style="width:200px;"><asp:TextBox ID="txt_Password_NhanVien"  runat="server" Width="200px" TextMode="Password" ></asp:TextBox></td>
            <td style="color:Red;"><asp:RequiredFieldValidator
                ID="RequiredFieldValidator2" runat="server" ErrorMessage="Không được bỏ trống" ControlToValidate="txt_Password_NhanVien"></asp:RequiredFieldValidator></td>

</tr>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Tên Nhân viên</td>
    <td style="width:200px;"><asp:TextBox ID="txt_TenNhanVien" runat="server" Width="200px"></asp:TextBox></td>
    <td style="color:Red;"><asp:RequiredFieldValidator
                ID="RequiredFieldValidator3" runat="server" ErrorMessage="Không được bỏ trống" ControlToValidate="txt_TenNhanVien"></asp:RequiredFieldValidator></td>
</tr>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Địa chỉ</td>
    <td style="width:200px;"><asp:TextBox ID="txt_DiaChi" runat="server" Width="200px"></asp:TextBox></td>
    <td></td>
</tr>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Điện thoại</td>
    <td style="width:200px;"><asp:TextBox ID="txt_DienThoai" runat="server" Width="200px"></asp:TextBox></td>
    <td></td>
</tr>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Email</td>
    <td style="width:200px;"><asp:TextBox ID="txt_Email" runat="server" Width="200px"></asp:TextBox></td>
    <td  style="color:Red;">
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Email không đúng định dạng" ControlToValidate="txt_Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
</tr>
<tr>
    <td style="font-size:16px; color:#8B4513; padding-left:200px; width:200px;">Phân quyền</td>
    <td style="width:200px;"><asp:DropDownList ID="DropDownList_PhanQuyen" runat="server" Width="200px">
        </asp:DropDownList></td>
        <td></td>
</tr>
<tr>
    <td align="center" style="text-align:center; color:Red;" colspan="3"><asp:Label ID="lb_msg" runat="server"></asp:Label></td>
</tr>
<tr>
    <td style="text-align:center; margin-bottom:50px;" colspan="3"><asp:Button CssClass="button" ID="btn_Insert" 
            runat="server" Height="25px" Text="Thêm" Width="80px" 
            onclick="btn_Insert_Click" /></td>
</tr>
</table>
</asp:Content>

